package org.eleorc.ioc.container.extension.beanpostprocessor.ext;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

    @Bean
    public MyService myService(){
        MyService myService = new MyService();
        return myService;
    }

    @Bean
    public MyDao myDao(){
        MyDao myDao = new MyDao();
        return myDao;
    }

}
